import sys
sys.path.append("..")
import convert
import gui
def whenImport(docxname):
    return convert.importDocx(docxname)
def whenExport(docxname,targetStyles):
    convert.exportDocx(docxname,targetStyles)
window = gui.MainWindow(
    onImportDocx=whenImport,
    onExportDocx=whenExport
)